<!DOCTYPE html>
<html style="overflow-x: hidden; overflow-y: scroll;" xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="{obj('base/Base')->SEO('rank_keywords')}" />
<meta name="description" content="{obj('base/Base')->SEO('rank_dec')}" />
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">
<link rel="stylesheet" href="{__PUBLIC__}web/css/jquery-ui.css">
<link media="all" rel="stylesheet" type="text/css" href="{__PUBLIC__}web/css/style.css">		
<title>全部上榜折扣-{obj('base/Base')->SEO('index_title')}</title>
<head>
	<body>
		<div id="wrapper">
			<div id="popuplayer"></div>
{include file="app/index/view/index/topheader"}	
            <div id="main">
                <div class="clear"></div>
				<div class="mainleft" id="mainleft">
					<div class="clear"></div>
					<div class="areatitle">
	<div class="titleandcountry">
		<span class="blockstart"></span>
		<span class="areatitleword">全部上榜折扣&nbsp;&nbsp;<span style="font-size:13px;">（<b>温馨提示</b>：榜单由用户点击自动生成，有一定滞后性。如遇商品无货或涨价，敬请谅解。）</span>
		</span>
	</div>
	<div class="pagemark">
			</div>
</div>

<div class="clear"></div>
<div class="zkcontent">
{foreach $Page['list'] as $vo}
<div class="gooditem withborder ">
<div class="imgandbtn">
	<div class="showpic">
	<a href="detail.php?id=5946675" target="_blank" onmousedown="xlog('5946675','pic')">
		<div class="imgmask" style="height:140px;width:140px;top:15px;left:10px"></div>
		<img src="{$vo['pic']}" width="140"  height="auto" alt="{$vo['title']}" style="margin-left:0px;margin-top:0px;margin-bottom:0px"/>
	</a>
	</div><!-- div.showpic -->
	<div class="clear"></div>
</div>

<div class="iteminfoarea">
	<h2 class="mallandname">
				<a class="maintag maintaghalfhot" href="{url($route='index/hot/index', $params=array())}" target="_blank" title="查看全部热门商品"><span class="maintagtext">近半小时热门</span></a>
				<a class="goodname" title="{$vo['title']}" href="detail.php?id=5946675" target="_blank" onmousedown="xlog('5946675','name')">
		 <?php
         preg_match_all('/￥[1-9]\d*/', $vo['title'], $keyword);
         if(empty($keyword['0']['0'])){
         preg_match_all('/[1-9]\d*.[1-9]\d*元/',  $vo['title'], $keyword);
         }
         if(empty($keyword['0']['0'])){
         preg_match_all('/[1-9]\d*元/', $vo['title'], $keyword);
         }
         echo str_replace($keyword['0']['0'],"<font class='emphricepart'>".$keyword['0']['0']."</font>",$vo['title'])
         
         ?>		</a>
	</h2><!-- div.mallandname -->
	<div class="clear"></div>
		<div class="shortabstract">
		<a class="abstractcontent" href="{url($route='index/view/index/id=<id>', $params=array("id"=>$vo['id']))}" target="_blank" onmousedown="xlog('5946675','abstract')">
		{mb_substr(strip_tags($vo['mybody']),0,73,'utf-8')}		...&nbsp; <a class="gotodetail" href="detail.php?id=5946675" target="_blank" onmousedown="xlog('5946675','detail')">完整阅读></a>
				</a>
	</div><!-- a.shortabstract -->
	<div class="timeandfrom">
		<div class="infotime"><a href="{url($route='index/view/index/id=<id>', $params=array("id"=>$vo['id']))}" target="_blank" onmousedown="xlog('5946675','time')"><span class="latesttime">{obj("api/Api")->mdate($vo['date'])}</span></a></div>
		<div class="infofrom">&nbsp;从{$vo['ly']}同步</div>
	</div><!-- div.timeandfrom -->
	</div><!-- div.iteminfoarea -->
<div class="rightlinks ">
<?php

$golink=obj("index/global","controller")->union("y",$vo['mallb']);
if($golink=="0"){
 $tolink=url($route='index/go/index/id=<id>', $params=array("id"=>$vo['id']));
}elseif($golink=="1"){
 $tolink=$vo['link'];
}
?>
		<a class="innergototobuybtn" isconvert="1" href="{$tolink}" target="_blank" onmousedown="xlog('{$vo['id']}','ingobuy')">
		<span class="innergototobuyword">直达链接&nbsp;&gt;</span>
	</a>
		<div class="clear"></div>
	<?php
 $mall= obj("index/global", "controller")->type("y", $vo['mallb'], "mall", "id");
 
 if($vo['type']=="0" && $vo['mall']=="0"){
  $thisurl=url($route='index/index/index/mall=<mall>', $params=array("mall"=>$vo['mallb']));
 }else{
 $thisurl=url($route='index/haitao/index/mall=<mall>', $params=array("mall"=>$vo['mallb']));
 }
   
 ?>
		
						<div class="rightmall">
					商城：<a class="rightmallname" href="{$thisurl}" target="_blank" title="点此查看全部{$mall['name']}的折扣" >{$mall['name']}</a>
				</div>
					
</div><!-- div.rightlinks -->
</div><!-- div.gooditem -->
{/foreach}


</div>
<div class="clear"></div>
				</div>
			<div class="mainright" id="mainright">
				{include file="app/index/view/index/right"}
{include file="app/index/view/index/chinamall"}

{include file="app/index/view/index/list"}
{include file="app/index/view/index/clickhot"}
<div class="page">
{$Page['page']}<!-- div.page -->
			</div><!-- end of main -->


</div>	</div>
    <div style="display:none">{include file="app/index/view/index/popnav"}</div>
	{include file="app/index/view/index/footer"}
    {include file="app/index/view/index/footerjs"}


    </body>
</html>